home *** CD-ROM | disk | FTP | other *** search
- on idle
- global timer
- if (timer = 1) and (the frame > 2) then
- if (the movieRate of sprite 11 = 0) or (the movieTime of sprite 11 = 21600) then
- TimeUp()
- end if
- end if
- GameIdle()
- PopIdle()
- end
-
- on TimeUp
- global timer, myWindow, Start, Wrong, NumChromosomes, NumMatches, GameScore
- close(myWindow)
- set Start to 1
- set Temp to NumMatches
- set timer to 0
- put "Timeup. You matched " & Temp & " sets of chromosomes. Your score is " & score() & "." into field "MsgBox"
- puppetSound("Game Over")
- ShowBox()
- end
-